<<<<<<< HEAD
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private MissAccidentMessage data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public MissAccidentMessage getData(){
        return data;
    }

    public void setData(MissAccidentMessage data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class MissAccidentMessage implements Serializable{

    private long id; //id
    private long companyId; //公司id
    private String name; //未遂事件名称
    private String position; //事故发生地点
    private String happenTime; //事故发生时间
    private long departmentId; //事故责任单位/部门id
    private String responsibleId; //责任人id，多个责任人逗号分隔
    private String personInvolved; //涉及人员id,多个责任人逗号分隔
    private String briefHistory; //事故发生简要经过
    private String measuresTaken; //已采取的措施
    private String annexUrls; //附件url，多个url用逗号分隔
    private String createTime; //登记时间
    private long creator; //登记人id
    private byte mainCause; //事故发生的主要原因:0人为因素，1设备和物料因素，2环境因素，3管理因素
    private String personFactor; //人为因素：0缺乏工作程序，1不知道正确程序，2知道程序但未遵守，3因心理或生理原因不能完成工作，        4缺少个人防护装备,5工作中任务难度大而不能实施，6不知道需要个人防护装备，        7知道需要个人防护装备，但不会使用，8缺乏应急设施，9应急设施没有正确的发挥作用，        10不知道如何使用应急设施，11其他
    private String deviceFactor; //设备和物料因素:0质量或条件有缺陷，1设计缺陷，2未识别出危害，3未报告危害性条件，4缺乏设备检查，        5识别和报告了危害性条件，但未及时查明原因，6未能检测出危害，7使用不适当的工具或物料，8没有适当的设备，        9设计时未考虑操作因素，10其他
    private String environmentFactor; //环境因素:0设备或员工的位置缺陷，1工作空间不够，2照明/噪音/空气污染/极端温度/通风/振动/辐射/地面和工作面,        3超负荷人工搬运或搬运程序错误，4工作中任务难度大而不能实施，5其他
    private String manageFactor; //管理因素:0监督人员未能发现、阻止或报告危险条件，1监督人员未能发现、阻止或报告违章现象，        2管理人员没有将存在的或可能的危险通知员工，3管理人员没有使员工和监督人员对安全负责任，        4管理人员没有对已知的危险状态采取措施，5缺乏对监督人员的培训，6其他

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getPosition(){
        return position;
    }

    public void setPosition(String position){
        this.position = position;
    }

    public String getHappenTime(){
        return happenTime;
    }

    public void setHappenTime(String happenTime){
        this.happenTime = happenTime;
    }

    public long getDepartmentId(){
        return departmentId;
    }

    public void setDepartmentId(long departmentId){
        this.departmentId = departmentId;
    }

    public String getResponsibleId(){
        return responsibleId;
    }

    public void setResponsibleId(String responsibleId){
        this.responsibleId = responsibleId;
    }

    public String getPersonInvolved(){
        return personInvolved;
    }

    public void setPersonInvolved(String personInvolved){
        this.personInvolved = personInvolved;
    }

    public String getBriefHistory(){
        return briefHistory;
    }

    public void setBriefHistory(String briefHistory){
        this.briefHistory = briefHistory;
    }

    public String getMeasuresTaken(){
        return measuresTaken;
    }

    public void setMeasuresTaken(String measuresTaken){
        this.measuresTaken = measuresTaken;
    }

    public String getAnnexUrls(){
        return annexUrls;
    }

    public void setAnnexUrls(String annexUrls){
        this.annexUrls = annexUrls;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public long getCreator(){
        return creator;
    }

    public void setCreator(long creator){
        this.creator = creator;
    }

    public byte getMainCause(){
        return mainCause;
    }

    public void setMainCause(byte mainCause){
        this.mainCause = mainCause;
    }

    public String getPersonFactor(){
        return personFactor;
    }

    public void setPersonFactor(String personFactor){
        this.personFactor = personFactor;
    }

    public String getDeviceFactor(){
        return deviceFactor;
    }

    public void setDeviceFactor(String deviceFactor){
        this.deviceFactor = deviceFactor;
    }

    public String getEnvironmentFactor(){
        return environmentFactor;
    }

    public void setEnvironmentFactor(String environmentFactor){
        this.environmentFactor = environmentFactor;
    }

    public String getManageFactor(){
        return manageFactor;
    }

    public void setManageFactor(String manageFactor){
        this.manageFactor = manageFactor;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
=======
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private MissAccidentMessage data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public MissAccidentMessage getData(){
        return data;
    }

    public void setData(MissAccidentMessage data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class MissAccidentMessage implements Serializable{

    private long id; //id
    private long companyId; //公司id
    private String name; //未遂事件名称
    private String position; //事故发生地点
    private String happenTime; //事故发生时间
    private long departmentId; //事故责任单位/部门id
    private String responsibleId; //责任人id，多个责任人逗号分隔
    private String personInvolved; //涉及人员id,多个人员逗号分隔
    private String briefHistory; //事故发生简要经过
    private String measuresTaken; //已采取的措施
    private String annexUrls; //附件url，多个url用逗号分隔
    private String createTime; //登记时间
    private long creator; //登记人id
    private int mainCause; //事故发生的主要原因:0人为因素，1设备和物料因素，2环境因素，3管理因素
    private String personFactor; //人为因素：0缺乏工作程序，1不知道正确程序，2知道程序但未遵守，3因心理或生理原因不能完成工作，        4缺少个人防护装备,5工作中任务难度大而不能实施，6不知道需要个人防护装备，        7知道需要个人防护装备，但不会使用，8缺乏应急设施，9应急设施没有正确的发挥作用，        10不知道如何使用应急设施，11其他
    private String deviceFactor; //设备和物料因素:0质量或条件有缺陷，1设计缺陷，2未识别出危害，3未报告危害性条件，4缺乏设备检查，        5识别和报告了危害性条件，但未及时查明原因，6未能检测出危害，7使用不适当的工具或物料，8没有适当的设备，        9设计时未考虑操作因素，10其他
    private String environmentFactor; //环境因素:0设备或员工的位置缺陷，1工作空间不够，2照明/噪音/空气污染/极端温度/通风/振动/辐射/地面和工作面,        3超负荷人工搬运或搬运程序错误，4工作中任务难度大而不能实施，5其他
    private String manageFactor; //管理因素:0监督人员未能发现、阻止或报告危险条件，1监督人员未能发现、阻止或报告违章现象，        2管理人员没有将存在的或可能的危险通知员工，3管理人员没有使员工和监督人员对安全负责任，        4管理人员没有对已知的危险状态采取措施，5缺乏对监督人员的培训，6其他

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getPosition(){
        return position;
    }

    public void setPosition(String position){
        this.position = position;
    }

    public String getHappenTime(){
        return happenTime;
    }

    public void setHappenTime(String happenTime){
        this.happenTime = happenTime;
    }

    public long getDepartmentId(){
        return departmentId;
    }

    public void setDepartmentId(long departmentId){
        this.departmentId = departmentId;
    }

    public String getResponsibleId(){
        return responsibleId;
    }

    public void setResponsibleId(String responsibleId){
        this.responsibleId = responsibleId;
    }

    public String getPersonInvolved(){
        return personInvolved;
    }

    public void setPersonInvolved(String personInvolved){
        this.personInvolved = personInvolved;
    }

    public String getBriefHistory(){
        return briefHistory;
    }

    public void setBriefHistory(String briefHistory){
        this.briefHistory = briefHistory;
    }

    public String getMeasuresTaken(){
        return measuresTaken;
    }

    public void setMeasuresTaken(String measuresTaken){
        this.measuresTaken = measuresTaken;
    }

    public String getAnnexUrls(){
        return annexUrls;
    }

    public void setAnnexUrls(String annexUrls){
        this.annexUrls = annexUrls;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public long getCreator(){
        return creator;
    }

    public void setCreator(long creator){
        this.creator = creator;
    }

    public int getMainCause(){
        return mainCause;
    }

    public void setMainCause(int mainCause){
        this.mainCause = mainCause;
    }

    public String getPersonFactor(){
        return personFactor;
    }

    public void setPersonFactor(String personFactor){
        this.personFactor = personFactor;
    }

    public String getDeviceFactor(){
        return deviceFactor;
    }

    public void setDeviceFactor(String deviceFactor){
        this.deviceFactor = deviceFactor;
    }

    public String getEnvironmentFactor(){
        return environmentFactor;
    }

    public void setEnvironmentFactor(String environmentFactor){
        this.environmentFactor = environmentFactor;
    }

    public String getManageFactor(){
        return manageFactor;
    }

    public void setManageFactor(String manageFactor){
        this.manageFactor = manageFactor;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
>>>>>>> 27890467aa9f3de498670b723017505dc0718efe
</html>